package com.bdult.vh.service;

import java.util.*;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bdult.vh.dao.CommDAO;

@Service
public class CommonService {
	@Autowired
	private CommDAO commDAO;
	
	public int updateSequence(String sKeyID) {
		return commDAO.updateSequence(sKeyID);
	}
	
	public int insertSequence(String sKeyID) {
		return commDAO.insertSequence(sKeyID);
	}
	
	public int selectSequence(String sKeyID) {
		return commDAO.selectSequence(sKeyID);
	}
	
	//###### 2014-05-03 심윤 추가 : 주문관련
	public int insertPoint(Map<String, Object> paramMap) {
		return commDAO.insertPoint(paramMap);
	}
	//###### 2014-05-03 심윤 추가 : 주문관련
	
	//###### 2014-05-05 심윤 추가 : 공통코드조회
	public ArrayList<HashMap<String, String>> selectCodeList(String comCD) {
		return commDAO.selectCodeList(comCD);
	}
	//###### 2014-05-05 심윤 추가 : 공통코드조회
}
